package com.sky.service;

import com.sky.entity.AddressBook;

import java.util.List;

/**
 * 类描述：
 */
public interface AddressBookService {
    void saveAddressBook(AddressBook addressBook);

    List<AddressBook> getAllAddressBook();

    AddressBook getDefaultAddressBook();

    AddressBook getAddressBookById(Long id);

    void updateAddressBook(AddressBook addressBook);

    void deleteAddressBookById(Long id);


    void setDefaultAddressBook(AddressBook addressBook);

}
